<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box{
            width:100px;
            height:100px;
            background-color: #ff8500;
            /*弧度动画*/
            transition:all 2s;
        }

        .box1{
            width:100px;
            height:100px;
            background-color: #ff8500;
            /*弧度动画*/
        }
        .box:hover{
            /*2d转换平移*/
           /* transform:translatex(600px);*/
            transform:translateY(600px);
          /*  transform:translate(100px,100px);*/
        }
    </style>
</head>
<body>
<div class="box"></div>
<!--不影响其他位置的元素，对行元素无效-->
<div class="box1"></div>
</body>
</html>